;(function(window) {

var svgSprite = '<svg>' +
  ''+
    '<symbol id="icon-diannao" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M969.536 402.944a22.4 22.4 0 0 0-22.336 22.08V273.088a22.4 22.4 0 0 0 44.736-0.128h0.064V160a22.4 22.4 0 0 0-22.4-22.4H54.4a22.528 22.528 0 0 0-22.4 22.4v604.608c0 12.288 10.112 22.4 22.4 22.4h915.2a22.4 22.4 0 0 0 22.4-22.4V425.344a22.4 22.4 0 0 0-22.464-22.4z" fill="" ></path>'+
      ''+
      '<path d="M969.6 328m-22.4 0a22.4 22.4 0 1 0 44.8 0 22.4 22.4 0 1 0-44.8 0Z" fill="" ></path>'+
      ''+
      '<path d="M77.44 631.168a0.64 0.64 0 0 1-0.64-0.64V189.376a0.64 0.64 0 0 1 0.64-0.64h869.184c0.256 0 0.64 0.256 0.64 0.64v441.152c0 0.32-0.384 0.64-0.64 0.64H77.44z" fill="#545454" ></path>'+
      ''+
      '<path d="M77.44 740.032a0.64 0.64 0 0 1-0.64-0.64v-69.12a0.64 0.64 0 0 1 0.64-0.64h869.184c0.256 0 0.64 0.32 0.64 0.64v69.12c0 0.32-0.384 0.64-0.64 0.64H77.44z" fill="#E0E0E0" ></path>'+
      ''+
      '<path d="M76.8 631.168h870.464v44.8H76.8zM637.12 875.776H386.816l19.264-88.768h211.904z" fill="" ></path>'+
      ''+
      '<path d="M431.68 875.776l19.2-88.768h122.368l19.136 88.768z" fill="#E0E0E0" ></path>'+
      ''+
      '<path d="M721.984 888a16 16 0 0 1-16 16H318.016a16 16 0 0 1 0-32h388.032a16 16 0 0 1 15.936 16z" fill="" ></path>'+
      ''+
      '<path d="M512 706.688m-18.176 0a18.176 18.176 0 1 0 36.352 0 18.176 18.176 0 1 0-36.352 0Z" fill="" ></path>'+
      ''+
      '<path d="M366.272 445.76a22.464 22.464 0 0 1-31.68 0 22.464 22.464 0 0 1 0-31.68l134.272-134.272a22.464 22.464 0 0 1 31.68 0 22.464 22.464 0 0 1 0 31.68L366.272 445.76z" fill="#FFFFFF" ></path>'+
      ''+
      '<path d="M407.424 540.16a22.464 22.464 0 0 1-31.68 0 22.528 22.528 0 0 1 0-31.744l67.328-67.264a22.464 22.464 0 0 1 31.68 0 22.464 22.464 0 0 1 0 31.68L407.424 540.16z" fill="#FFFFFF" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-shanchu" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M800 272h-576V896h576v-251.008h-0.192c0-0.32 0.192-0.576 0.192-0.896a22.4 22.4 0 0 0-44.864 0c0 0.32 0.192 0.576 0.192 0.896H755.2v-53.888a22.4 22.4 0 1 0 44.8 0V519.872h-0.256c0-0.448 0.256-0.832 0.256-1.28a22.4 22.4 0 0 0-44.8 0c0 0.448 0.256 0.832 0.256 1.28H755.2V405.184h0.32c-0.064 0.512-0.32 0.896-0.32 1.408a22.4 22.4 0 1 0 44.8 0c0-0.512-0.256-0.896-0.32-1.408h0.32V272z" fill="" ></path>'+
      ''+
      '<path d="M203.968 831.488a308.032 38.528 0 1 0 616.064 0 308.032 38.528 0 1 0-616.064 0Z" fill="" ></path>'+
      ''+
      '<path d="M268.8 316.8h486.4v580.992H268.8z" fill="#2CA6FF" ></path>'+
      ''+
      '<path d="M204.032 241.024v54.144s74.688 61.12 308.032 61.12 308.032-61.12 308.032-61.12v-59.712l-616.064 5.568zM820.032 897.728c0 12.288-8.32 21.824-18.496 28.736 0 0-84.48 46.528-289.472 46.528-198.976 0-289.024-47.232-289.024-47.232-10.432-6.528-18.944-15.68-18.944-28.032V838.4c0-12.288 9.408-18.816 20.928-14.464 0 0 105.728 40.064 287.04 40.512 184 0.448 287.168-40.256 287.168-40.256 11.456-4.48 20.8 1.856 20.8 14.208v59.328z" fill="" ></path>'+
      ''+
      '<path d="M512 950.656c-189.696 0-277.824-44.288-278.656-44.736-2.56-1.664-6.912-5.376-6.912-8.128v-49.792c28.8 9.6 129.664 38.464 285.504 38.784 157.056 0 255.424-28.16 285.696-38.336v49.28c0 2.688-3.264 6.528-8.768 10.24-0.256 0.064-83.456 42.688-276.864 42.688zM512 333.824c-178.752 0-260.864-36.928-285.568-50.88v-19.776l571.2-5.184v24.896c-24.512 13.952-106.624 50.944-285.632 50.944z" fill="#097EC6" ></path>'+
      ''+
      '<path d="M203.968 235.456a308.032 64.704 0 1 0 616.064 0 308.032 64.704 0 1 0-616.064 0Z" fill="" ></path>'+
      ''+
      '<path d="M512 277.696c-166.848 0-262.592-26.24-283.072-42.304 20.48-16 116.224-42.24 283.072-42.24s262.592 26.176 283.072 42.24c-20.416 16.128-116.224 42.304-283.072 42.304z" fill="#2CA6FF" ></path>'+
      ''+
      '<path d="M518.4 390.784c17.6-0.128 32 14.208 32 31.808v375.488c0 17.6-14.4 32-32 32a32.064 32.064 0 0 1-32-32V423.04c0-17.664 14.4-32.128 32-32.256zM375.232 384.384c17.6-0.128 32 14.208 32 31.808v350.016c0 17.6-14.4 32-32 32a32.064 32.064 0 0 1-32-32V416.576c0-17.6 14.4-32.064 32-32.192z" fill="#097EC6" ></path>'+
      ''+
      '<path d="M508.032 128.832a94.08 94.08 0 0 0-94.016 94.016h50.496a43.52 43.52 0 0 1 87.04 0h50.496a94.08 94.08 0 0 0-94.016-94.016z" fill="" ></path>'+
      ''+
      '<path d="M660.288 384.384c17.6-0.128 32 14.208 32 31.808v350.016c0 17.6-14.4 32-32 32a32.064 32.064 0 0 1-32-32V416.576c0-17.6 14.4-32.064 32-32.192zM508.032 183.232a39.68 39.68 0 0 1 39.616 39.616h32a71.68 71.68 0 0 0-143.232-0.064h32c0-21.824 17.728-39.552 39.616-39.552z" fill="#097EC6" ></path>'+
      ''+
      '<path d="M319.104 795.968a16 16 0 0 1-32 0V372.096a16 16 0 0 1 32 0v423.872z" fill="#FFFFFF" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-zhinanzhen" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M732.288 166.464l10.176-19.968a22.4 22.4 0 0 0-9.664-30.144h-0.064a22.528 22.528 0 0 0-30.144 9.792l-10.368 20.288a444.48 444.48 0 0 0-130.88-35.008v-41.28c0-26.432-21.568-48-48-48s-48 21.568-48 48v41.344a444.16 444.16 0 0 0-129.216 34.176l-9.92-19.456a22.528 22.528 0 0 0-30.144-9.792h-0.064a22.4 22.4 0 0 0-9.664 30.144l9.728 19.008A447.168 447.168 0 0 0 65.344 556.8a448 448 0 0 0 764.16 317.376l-0.256-0.32a22.016 22.016 0 0 0 7.552-16.512 22.4 22.4 0 0 0-22.464-22.4 22.016 22.016 0 0 0-15.36 6.272l-9.664-10.496 92.032-133.376 8.832 3.712c-0.32 1.472-0.896 2.88-0.896 4.416 0 12.352 10.048 21.376 22.4 22.464 12.352 1.088 20.16-12.352 20.672-13.696v-0.064a446.144 446.144 0 0 0 29.056-157.376 447.36 447.36 0 0 0-229.12-390.336z" fill="" ></path>'+
      ''+
      '<path d="M862.912 800m-22.4 0a22.4 22.4 0 1 0 44.8 0 22.4 22.4 0 1 0-44.8 0Z" fill="" ></path>'+
      ''+
      '<path d="M513.344 960c-222.336 0-403.2-180.864-403.2-403.2s180.864-403.2 403.2-403.2c222.336 0 403.2 180.864 403.2 403.2s-180.864 403.2-403.2 403.2z" fill="#1DA9FF" ></path>'+
      ''+
      '<path d="M513.344 890.624A334.208 334.208 0 0 1 179.52 556.8a334.208 334.208 0 0 1 333.824-333.824A334.208 334.208 0 0 1 847.168 556.8a334.208 334.208 0 0 1-333.824 333.824z" fill="" ></path>'+
      ''+
      '<path d="M513.344 845.824c-159.36 0-289.024-129.6-289.024-289.024s129.664-289.024 289.024-289.024S802.368 397.44 802.368 556.8s-129.6 289.024-289.024 289.024z" fill="#FFFFFF" ></path>'+
      ''+
      '<path d="M544.896 588.288l189.312-31.488-189.312-31.488-31.552-189.312-31.488 189.312-189.312 31.488 189.312 31.488 31.488 189.312z" fill="#D3D3D3" ></path>'+
      ''+
      '<path d="M487.36 530.816l182.144-130.176-130.176 182.144z" fill="#FF4B3B" ></path>'+
      ''+
      '<path d="M487.36 530.816l182.144-130.176-156.16 156.16z" fill="#FF7E78" ></path>'+
      ''+
      '<path d="M487.36 530.816L357.248 712.96l182.08-130.176z" fill="#0088DB" ></path>'+
      ''+
      '<path d="M487.36 530.816L357.248 712.96 513.344 556.8z" fill="#34B6F7" ></path>'+
      ''+
      '<path d="M513.344 556.8m-52.608 0a52.608 52.608 0 1 0 105.216 0 52.608 52.608 0 1 0-105.216 0Z" fill="#00DDF9" ></path>'+
      ''+
      '<path d="M500.416 543.104m-21.056 0a21.056 21.056 0 1 0 42.112 0 21.056 21.056 0 1 0-42.112 0Z" fill="#FFFFFF" ></path>'+
      ''+
      '<path d="M148.288 520.192a15.936 15.936 0 0 1-15.808-18.752c38.656-218.432 211.392-290.368 218.752-293.312 8-3.264 17.472 0.64 20.8 8.832s-0.64 17.472-8.832 20.864c-1.6 0.64-163.776 68.8-199.168 269.184a16 16 0 0 1-15.744 13.184z" fill="#FFFFFF" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-pingguo" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M740.032 542.272s-1.344-101.312 92.032-158.656c0 0-38.656-73.344-120-88 0 0-57.344-21.312-168 25.344 0 0-53.312 28.032-117.312-17.344 0 0-40-29.312-108.032-5.312 0 0-148.032 37.312-172.032 181.312 0 0-20.032 170.624 73.344 339.968 0 0 66.688 138.624 160 130.624 0 0 26.688 4.032 90.688-21.312 0 0 49.344-22.656 125.312 9.344 0 0 61.376 30.656 113.344-1.344 0 0 77.312-37.12 145.344-217.28-0.064 0-108.096-41.344-114.688-177.344z" fill="" ></path>'+
      ''+
      '<path d="M655.424 929.088c-26.88 0-49.216-10.816-49.408-10.944a227.456 227.456 0 0 0-89.024-19.456c-33.344 0-53.44 8.832-55.68 9.792-45.696 18.112-70.144 19.52-76.544 19.52l-2.624-0.384-4.352 0.256c-67.392 0-121.792-85.184-137.6-118.016C151.104 648.192 168.768 483.84 168.96 482.24 190.016 355.968 318.72 321.408 324.224 320a139.52 139.52 0 0 1 46.336-8.768c27.392 0 42.56 10.176 43.2 10.624 28.096 19.968 57.92 30.08 88.576 30.08 30.016 0 49.92-9.984 52.032-11.072 54.016-22.72 94.592-27.648 118.784-27.648 20.544 0 31.168 3.52 31.296 3.584 49.6 9.152 81.28 41.088 96.64 60.992-83.904 64.256-83.584 160.576-83.52 164.928 5.504 113.28 73.728 167.424 108.8 187.84-61.056 151.04-126.4 185.984-126.976 186.368-13.888 8.32-28.096 12.16-43.968 12.16z" fill="#F6FF85" ></path>'+
      ''+
      '<path d="M674.688 72.896c-205.312 56-174.912 215.936-174.912 215.936 199.808-24 174.912-215.936 174.912-215.936z" fill="" ></path>'+
      ''+
      '<path d="M520.512 262.72c0.896-38.656 17.664-117.952 132.48-159.552-1.344 26.88-8.128 68.672-35.008 103.04-22.272 28.544-55.04 47.488-97.472 56.512z" fill="#F6FF85" ></path>'+
      ''+
    '</symbol>'+
  ''+
    '<symbol id="icon-anzhuo" viewBox="0 0 1024 1024">'+
      ''+
      '<path d="M213.696 348.032c-28.16 0-51.2 23.04-51.2 51.2V604.8c0 28.096 23.04 51.2 51.2 51.2s51.2-23.04 51.2-51.2V399.168c0-28.16-23.04-51.136-51.2-51.136z" fill="" ></path>'+
      ''+
      '<path d="M213.696 633.6a28.8 28.8 0 0 1-28.8-28.8V399.168a28.8 28.8 0 0 1 57.6 0V604.8a28.8 28.8 0 0 1-28.8 28.8z" fill="#1FDB00" ></path>'+
      ''+
      '<path d="M831.68 348.032c-28.16 0-51.2 23.04-51.2 51.2V604.8c0 28.096 22.976 51.2 51.2 51.2s51.2-23.04 51.2-51.2V399.168a51.2 51.2 0 0 0-51.2-51.136z" fill="" ></path>'+
      ''+
      '<path d="M831.68 633.6a28.8 28.8 0 0 1-28.8-28.8V399.168a28.8 28.8 0 0 1 57.6 0V604.8a28.8 28.8 0 0 1-28.8 28.8z" fill="#1FDB00" ></path>'+
      ''+
      '<path d="M294.656 709.184c0 24.64 20.16 44.8 44.8 44.8h43.008v116.8c0 28.096 23.04 51.2 51.2 51.2s51.2-23.04 51.2-51.2v-116.8h81.6v116.8c0 28.096 22.976 51.2 51.2 51.2s51.2-23.04 51.2-51.2v-116.8h38.976c24.64 0 44.8-20.16 44.8-44.8V348.032H294.656v361.152z" fill="" ></path>'+
      ''+
      '<path d="M617.664 899.648a28.8 28.8 0 0 1-28.8-28.8v-139.2H462.464v139.2a28.8 28.8 0 0 1-57.6 0v-139.2H339.52a22.4 22.4 0 0 1-22.4-22.464V370.432h413.184v338.752a22.4 22.4 0 0 1-22.4 22.464h-61.376v139.2c0 15.808-12.992 28.8-28.864 28.8z" fill="#1FDB00" ></path>'+
      ''+
      '<path d="M297.92 320h451.52a225.28 225.28 0 0 0-113.28-163.456l51.712-51.712a11.328 11.328 0 0 0 0-15.808h-0.064a11.2 11.2 0 0 0-15.808 0l-52.032 52.096c-1.728 1.664-2.24 3.968-2.624 6.144A219.456 219.456 0 0 0 528.704 128h-10.048c-27.52 0-53.824 5.184-78.208 14.4-0.256-0.384-0.128-0.96-0.448-1.28l-52.096-52.096a11.2 11.2 0 0 0-15.808 15.808l47.488 47.552A225.088 225.088 0 0 0 297.92 320z m325.376-120.768a25.984 25.984 0 1 1 0 51.904 25.984 25.984 0 0 1 0-51.904z m-197.952 0a25.984 25.984 0 1 1 0 51.904 25.984 25.984 0 0 1 0-51.904z" fill="" ></path>'+
      ''+
      '<path d="M325.568 297.6a202.88 202.88 0 0 1 55.296-91.456 48.448 48.448 0 1 0 38.592-28.928 197.696 197.696 0 0 1 99.2-26.816h9.984c35.648 0 69.568 9.664 98.944 26.624a48.448 48.448 0 1 0 41.024 31.04c24.768 24.256 43.392 54.912 53.184 89.472H325.568z" fill="#1FDB00" ></path>'+
      ''+
    '</symbol>'+
  ''+
'</svg>'
var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
var shouldInjectCss = script.getAttribute("data-injectcss")

/**
 * document ready
 */
var ready = function(fn){
  if(document.addEventListener){
      document.addEventListener("DOMContentLoaded",function(){
          document.removeEventListener("DOMContentLoaded",arguments.callee,false)
          fn()
      },false)
  }else if(document.attachEvent){
     IEContentLoaded (window, fn)
  }

  function IEContentLoaded (w, fn) {
      var d = w.document, done = false,
      // only fire once
      init = function () {
          if (!done) {
              done = true
              fn()
          }
      }
      // polling for no errors
      ;(function () {
          try {
              // throws errors until after ondocumentready
              d.documentElement.doScroll('left')
          } catch (e) {
              setTimeout(arguments.callee, 50)
              return
          }
          // no errors, fire

          init()
      })()
      // trying to always fire before onload
      d.onreadystatechange = function() {
          if (d.readyState == 'complete') {
              d.onreadystatechange = null
              init()
          }
      }
  }
}

/**
 * Insert el before target
 *
 * @param {Element} el
 * @param {Element} target
 */

var before = function (el, target) {
  target.parentNode.insertBefore(el, target)
}

/**
 * Prepend el to target
 *
 * @param {Element} el
 * @param {Element} target
 */

var prepend = function (el, target) {
  if (target.firstChild) {
    before(el, target.firstChild)
  } else {
    target.appendChild(el)
  }
}

function appendSvg(){
  var div,svg

  div = document.createElement('div')
  div.innerHTML = svgSprite
  svg = div.getElementsByTagName('svg')[0]
  if (svg) {
    svg.setAttribute('aria-hidden', 'true')
    svg.style.position = 'absolute'
    svg.style.width = 0
    svg.style.height = 0
    svg.style.overflow = 'hidden'
    prepend(svg,document.body)
  }
}

if(shouldInjectCss && !window.__iconfont__svg__cssinject__){
  window.__iconfont__svg__cssinject__ = true
  try{
    document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
  }catch(e){
    console && console.log(e)
  }
}

ready(appendSvg)


})(window)
